/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MallCommentExample extends BaseExample {
    /* @mbggenerated */
    protected String orderByClause;

    /* @mbggenerated */
    protected boolean distinct;

    /* @mbggenerated */
    protected List<Criteria> oredCriteria;

    /* @mbggenerated */
    public MallCommentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /* @mbggenerated */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /* @mbggenerated */
    public String getOrderByClause() {
        return orderByClause;
    }

    /* @mbggenerated */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /* @mbggenerated */
    public boolean isDistinct() {
        return distinct;
    }

    /* @mbggenerated */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /* @mbggenerated */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /* @mbggenerated */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /* @mbggenerated */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /* @mbggenerated */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /* @mbggenerated */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 对应数据库表 mall_comment
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNull() {
            addCriterion("gmt_modify is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNotNull() {
            addCriterion("gmt_modify is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyEqualTo(Date value) {
            addCriterion("gmt_modify =", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotEqualTo(Date value) {
            addCriterion("gmt_modify <>", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThan(Date value) {
            addCriterion("gmt_modify >", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modify >=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThan(Date value) {
            addCriterion("gmt_modify <", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modify <=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIn(List<Date> values) {
            addCriterion("gmt_modify in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotIn(List<Date> values) {
            addCriterion("gmt_modify not in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyBetween(Date value1, Date value2) {
            addCriterion("gmt_modify between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modify not between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andMallIdIsNull() {
            addCriterion("mall_id is null");
            return (Criteria) this;
        }

        public Criteria andMallIdIsNotNull() {
            addCriterion("mall_id is not null");
            return (Criteria) this;
        }

        public Criteria andMallIdEqualTo(Long value) {
            addCriterion("mall_id =", value, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdNotEqualTo(Long value) {
            addCriterion("mall_id <>", value, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdGreaterThan(Long value) {
            addCriterion("mall_id >", value, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdGreaterThanOrEqualTo(Long value) {
            addCriterion("mall_id >=", value, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdLessThan(Long value) {
            addCriterion("mall_id <", value, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdLessThanOrEqualTo(Long value) {
            addCriterion("mall_id <=", value, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdIn(List<Long> values) {
            addCriterion("mall_id in", values, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdNotIn(List<Long> values) {
            addCriterion("mall_id not in", values, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdBetween(Long value1, Long value2) {
            addCriterion("mall_id between", value1, value2, "mallId");
            return (Criteria) this;
        }

        public Criteria andMallIdNotBetween(Long value1, Long value2) {
            addCriterion("mall_id not between", value1, value2, "mallId");
            return (Criteria) this;
        }

        public Criteria andScoreIsNull() {
            addCriterion("score is null");
            return (Criteria) this;
        }

        public Criteria andScoreIsNotNull() {
            addCriterion("score is not null");
            return (Criteria) this;
        }

        public Criteria andScoreEqualTo(Integer value) {
            addCriterion("score =", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotEqualTo(Integer value) {
            addCriterion("score <>", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThan(Integer value) {
            addCriterion("score >", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("score >=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThan(Integer value) {
            addCriterion("score <", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreLessThanOrEqualTo(Integer value) {
            addCriterion("score <=", value, "score");
            return (Criteria) this;
        }

        public Criteria andScoreIn(List<Integer> values) {
            addCriterion("score in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotIn(List<Integer> values) {
            addCriterion("score not in", values, "score");
            return (Criteria) this;
        }

        public Criteria andScoreBetween(Integer value1, Integer value2) {
            addCriterion("score between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("score not between", value1, value2, "score");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAllPriceIsNull() {
            addCriterion("all_price is null");
            return (Criteria) this;
        }

        public Criteria andAllPriceIsNotNull() {
            addCriterion("all_price is not null");
            return (Criteria) this;
        }

        public Criteria andAllPriceEqualTo(Integer value) {
            addCriterion("all_price =", value, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceNotEqualTo(Integer value) {
            addCriterion("all_price <>", value, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceGreaterThan(Integer value) {
            addCriterion("all_price >", value, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_price >=", value, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceLessThan(Integer value) {
            addCriterion("all_price <", value, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceLessThanOrEqualTo(Integer value) {
            addCriterion("all_price <=", value, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceIn(List<Integer> values) {
            addCriterion("all_price in", values, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceNotIn(List<Integer> values) {
            addCriterion("all_price not in", values, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceBetween(Integer value1, Integer value2) {
            addCriterion("all_price between", value1, value2, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPriceNotBetween(Integer value1, Integer value2) {
            addCriterion("all_price not between", value1, value2, "allPrice");
            return (Criteria) this;
        }

        public Criteria andAllPeopleIsNull() {
            addCriterion("all_people is null");
            return (Criteria) this;
        }

        public Criteria andAllPeopleIsNotNull() {
            addCriterion("all_people is not null");
            return (Criteria) this;
        }

        public Criteria andAllPeopleEqualTo(Integer value) {
            addCriterion("all_people =", value, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleNotEqualTo(Integer value) {
            addCriterion("all_people <>", value, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleGreaterThan(Integer value) {
            addCriterion("all_people >", value, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_people >=", value, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleLessThan(Integer value) {
            addCriterion("all_people <", value, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleLessThanOrEqualTo(Integer value) {
            addCriterion("all_people <=", value, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleIn(List<Integer> values) {
            addCriterion("all_people in", values, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleNotIn(List<Integer> values) {
            addCriterion("all_people not in", values, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleBetween(Integer value1, Integer value2) {
            addCriterion("all_people between", value1, value2, "allPeople");
            return (Criteria) this;
        }

        public Criteria andAllPeopleNotBetween(Integer value1, Integer value2) {
            addCriterion("all_people not between", value1, value2, "allPeople");
            return (Criteria) this;
        }

        public Criteria andPicsIsNull() {
            addCriterion("pics is null");
            return (Criteria) this;
        }

        public Criteria andPicsIsNotNull() {
            addCriterion("pics is not null");
            return (Criteria) this;
        }

        public Criteria andPicsEqualTo(String value) {
            addCriterion("pics =", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsNotEqualTo(String value) {
            addCriterion("pics <>", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsGreaterThan(String value) {
            addCriterion("pics >", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsGreaterThanOrEqualTo(String value) {
            addCriterion("pics >=", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsLessThan(String value) {
            addCriterion("pics <", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsLessThanOrEqualTo(String value) {
            addCriterion("pics <=", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsLike(String value) {
            addCriterion("pics like", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsNotLike(String value) {
            addCriterion("pics not like", value, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsIn(List<String> values) {
            addCriterion("pics in", values, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsNotIn(List<String> values) {
            addCriterion("pics not in", values, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsBetween(String value1, String value2) {
            addCriterion("pics between", value1, value2, "pics");
            return (Criteria) this;
        }

        public Criteria andPicsNotBetween(String value1, String value2) {
            addCriterion("pics not between", value1, value2, "pics");
            return (Criteria) this;
        }

        public Criteria andPicCountIsNull() {
            addCriterion("pic_count is null");
            return (Criteria) this;
        }

        public Criteria andPicCountIsNotNull() {
            addCriterion("pic_count is not null");
            return (Criteria) this;
        }

        public Criteria andPicCountEqualTo(Integer value) {
            addCriterion("pic_count =", value, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountNotEqualTo(Integer value) {
            addCriterion("pic_count <>", value, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountGreaterThan(Integer value) {
            addCriterion("pic_count >", value, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("pic_count >=", value, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountLessThan(Integer value) {
            addCriterion("pic_count <", value, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountLessThanOrEqualTo(Integer value) {
            addCriterion("pic_count <=", value, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountIn(List<Integer> values) {
            addCriterion("pic_count in", values, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountNotIn(List<Integer> values) {
            addCriterion("pic_count not in", values, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountBetween(Integer value1, Integer value2) {
            addCriterion("pic_count between", value1, value2, "picCount");
            return (Criteria) this;
        }

        public Criteria andPicCountNotBetween(Integer value1, Integer value2) {
            addCriterion("pic_count not between", value1, value2, "picCount");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNull() {
            addCriterion("parent_id is null");
            return (Criteria) this;
        }

        public Criteria andParentIdIsNotNull() {
            addCriterion("parent_id is not null");
            return (Criteria) this;
        }

        public Criteria andParentIdEqualTo(Long value) {
            addCriterion("parent_id =", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotEqualTo(Long value) {
            addCriterion("parent_id <>", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThan(Long value) {
            addCriterion("parent_id >", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("parent_id >=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThan(Long value) {
            addCriterion("parent_id <", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdLessThanOrEqualTo(Long value) {
            addCriterion("parent_id <=", value, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdIn(List<Long> values) {
            addCriterion("parent_id in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotIn(List<Long> values) {
            addCriterion("parent_id not in", values, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdBetween(Long value1, Long value2) {
            addCriterion("parent_id between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andParentIdNotBetween(Long value1, Long value2) {
            addCriterion("parent_id not between", value1, value2, "parentId");
            return (Criteria) this;
        }

        public Criteria andDianzanCountIsNull() {
            addCriterion("dianzan_count is null");
            return (Criteria) this;
        }

        public Criteria andDianzanCountIsNotNull() {
            addCriterion("dianzan_count is not null");
            return (Criteria) this;
        }

        public Criteria andDianzanCountEqualTo(Integer value) {
            addCriterion("dianzan_count =", value, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountNotEqualTo(Integer value) {
            addCriterion("dianzan_count <>", value, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountGreaterThan(Integer value) {
            addCriterion("dianzan_count >", value, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("dianzan_count >=", value, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountLessThan(Integer value) {
            addCriterion("dianzan_count <", value, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountLessThanOrEqualTo(Integer value) {
            addCriterion("dianzan_count <=", value, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountIn(List<Integer> values) {
            addCriterion("dianzan_count in", values, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountNotIn(List<Integer> values) {
            addCriterion("dianzan_count not in", values, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountBetween(Integer value1, Integer value2) {
            addCriterion("dianzan_count between", value1, value2, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanCountNotBetween(Integer value1, Integer value2) {
            addCriterion("dianzan_count not between", value1, value2, "dianzanCount");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsIsNull() {
            addCriterion("dianzan_user_ids is null");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsIsNotNull() {
            addCriterion("dianzan_user_ids is not null");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsEqualTo(String value) {
            addCriterion("dianzan_user_ids =", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsNotEqualTo(String value) {
            addCriterion("dianzan_user_ids <>", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsGreaterThan(String value) {
            addCriterion("dianzan_user_ids >", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsGreaterThanOrEqualTo(String value) {
            addCriterion("dianzan_user_ids >=", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsLessThan(String value) {
            addCriterion("dianzan_user_ids <", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsLessThanOrEqualTo(String value) {
            addCriterion("dianzan_user_ids <=", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsLike(String value) {
            addCriterion("dianzan_user_ids like", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsNotLike(String value) {
            addCriterion("dianzan_user_ids not like", value, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsIn(List<String> values) {
            addCriterion("dianzan_user_ids in", values, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsNotIn(List<String> values) {
            addCriterion("dianzan_user_ids not in", values, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsBetween(String value1, String value2) {
            addCriterion("dianzan_user_ids between", value1, value2, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andDianzanUserIdsNotBetween(String value1, String value2) {
            addCriterion("dianzan_user_ids not between", value1, value2, "dianzanUserIds");
            return (Criteria) this;
        }

        public Criteria andLiulanCountIsNull() {
            addCriterion("liulan_count is null");
            return (Criteria) this;
        }

        public Criteria andLiulanCountIsNotNull() {
            addCriterion("liulan_count is not null");
            return (Criteria) this;
        }

        public Criteria andLiulanCountEqualTo(Integer value) {
            addCriterion("liulan_count =", value, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountNotEqualTo(Integer value) {
            addCriterion("liulan_count <>", value, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountGreaterThan(Integer value) {
            addCriterion("liulan_count >", value, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("liulan_count >=", value, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountLessThan(Integer value) {
            addCriterion("liulan_count <", value, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountLessThanOrEqualTo(Integer value) {
            addCriterion("liulan_count <=", value, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountIn(List<Integer> values) {
            addCriterion("liulan_count in", values, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountNotIn(List<Integer> values) {
            addCriterion("liulan_count not in", values, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountBetween(Integer value1, Integer value2) {
            addCriterion("liulan_count between", value1, value2, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andLiulanCountNotBetween(Integer value1, Integer value2) {
            addCriterion("liulan_count not between", value1, value2, "liulanCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountIsNull() {
            addCriterion("pinglun_count is null");
            return (Criteria) this;
        }

        public Criteria andPinglunCountIsNotNull() {
            addCriterion("pinglun_count is not null");
            return (Criteria) this;
        }

        public Criteria andPinglunCountEqualTo(Integer value) {
            addCriterion("pinglun_count =", value, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountNotEqualTo(Integer value) {
            addCriterion("pinglun_count <>", value, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountGreaterThan(Integer value) {
            addCriterion("pinglun_count >", value, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("pinglun_count >=", value, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountLessThan(Integer value) {
            addCriterion("pinglun_count <", value, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountLessThanOrEqualTo(Integer value) {
            addCriterion("pinglun_count <=", value, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountIn(List<Integer> values) {
            addCriterion("pinglun_count in", values, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountNotIn(List<Integer> values) {
            addCriterion("pinglun_count not in", values, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountBetween(Integer value1, Integer value2) {
            addCriterion("pinglun_count between", value1, value2, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andPinglunCountNotBetween(Integer value1, Integer value2) {
            addCriterion("pinglun_count not between", value1, value2, "pinglunCount");
            return (Criteria) this;
        }

        public Criteria andSellerResponseIsNull() {
            addCriterion("seller_response is null");
            return (Criteria) this;
        }

        public Criteria andSellerResponseIsNotNull() {
            addCriterion("seller_response is not null");
            return (Criteria) this;
        }

        public Criteria andSellerResponseEqualTo(String value) {
            addCriterion("seller_response =", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseNotEqualTo(String value) {
            addCriterion("seller_response <>", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseGreaterThan(String value) {
            addCriterion("seller_response >", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseGreaterThanOrEqualTo(String value) {
            addCriterion("seller_response >=", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseLessThan(String value) {
            addCriterion("seller_response <", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseLessThanOrEqualTo(String value) {
            addCriterion("seller_response <=", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseLike(String value) {
            addCriterion("seller_response like", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseNotLike(String value) {
            addCriterion("seller_response not like", value, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseIn(List<String> values) {
            addCriterion("seller_response in", values, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseNotIn(List<String> values) {
            addCriterion("seller_response not in", values, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseBetween(String value1, String value2) {
            addCriterion("seller_response between", value1, value2, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andSellerResponseNotBetween(String value1, String value2) {
            addCriterion("seller_response not between", value1, value2, "sellerResponse");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNull() {
            addCriterion("comm_only_key is null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNotNull() {
            addCriterion("comm_only_key is not null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyEqualTo(Integer value) {
            addCriterion("comm_only_key =", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotEqualTo(Integer value) {
            addCriterion("comm_only_key <>", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThan(Integer value) {
            addCriterion("comm_only_key >", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key >=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThan(Integer value) {
            addCriterion("comm_only_key <", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key <=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIn(List<Integer> values) {
            addCriterion("comm_only_key in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotIn(List<Integer> values) {
            addCriterion("comm_only_key not in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key not between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNull() {
            addCriterion("province_id is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIsNotNull() {
            addCriterion("province_id is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceIdEqualTo(Integer value) {
            addCriterion("province_id =", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotEqualTo(Integer value) {
            addCriterion("province_id <>", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThan(Integer value) {
            addCriterion("province_id >", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("province_id >=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThan(Integer value) {
            addCriterion("province_id <", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdLessThanOrEqualTo(Integer value) {
            addCriterion("province_id <=", value, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdIn(List<Integer> values) {
            addCriterion("province_id in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotIn(List<Integer> values) {
            addCriterion("province_id not in", values, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdBetween(Integer value1, Integer value2) {
            addCriterion("province_id between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andProvinceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("province_id not between", value1, value2, "provinceId");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNull() {
            addCriterion("city_id is null");
            return (Criteria) this;
        }

        public Criteria andCityIdIsNotNull() {
            addCriterion("city_id is not null");
            return (Criteria) this;
        }

        public Criteria andCityIdEqualTo(Integer value) {
            addCriterion("city_id =", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotEqualTo(Integer value) {
            addCriterion("city_id <>", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThan(Integer value) {
            addCriterion("city_id >", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("city_id >=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThan(Integer value) {
            addCriterion("city_id <", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdLessThanOrEqualTo(Integer value) {
            addCriterion("city_id <=", value, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdIn(List<Integer> values) {
            addCriterion("city_id in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotIn(List<Integer> values) {
            addCriterion("city_id not in", values, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdBetween(Integer value1, Integer value2) {
            addCriterion("city_id between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andCityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("city_id not between", value1, value2, "cityId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNull() {
            addCriterion("area_id is null");
            return (Criteria) this;
        }

        public Criteria andAreaIdIsNotNull() {
            addCriterion("area_id is not null");
            return (Criteria) this;
        }

        public Criteria andAreaIdEqualTo(Integer value) {
            addCriterion("area_id =", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotEqualTo(Integer value) {
            addCriterion("area_id <>", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThan(Integer value) {
            addCriterion("area_id >", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("area_id >=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThan(Integer value) {
            addCriterion("area_id <", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdLessThanOrEqualTo(Integer value) {
            addCriterion("area_id <=", value, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdIn(List<Integer> values) {
            addCriterion("area_id in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotIn(List<Integer> values) {
            addCriterion("area_id not in", values, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdBetween(Integer value1, Integer value2) {
            addCriterion("area_id between", value1, value2, "areaId");
            return (Criteria) this;
        }

        public Criteria andAreaIdNotBetween(Integer value1, Integer value2) {
            addCriterion("area_id not between", value1, value2, "areaId");
            return (Criteria) this;
        }
    }

    /* @mbggenerated */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 对应数据库表 mall_comment
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}